package com.linghang.association.req;
/**
 * @author LinyaT052
 * @date 2022年07月19日 18:00
 * 用户管理端相关请求
 */
public class UserAdminReq {
    private Integer id;

    private String username;

    private String authority;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }


    public String getAuthority() {
        return authority;
    }

    public void setAuthority(String authority) {
        this.authority = authority;
    }

    public UserAdminReq(Integer id, String username, String authority) {
        this.id = id;
        this.username = username;
        this.authority = authority;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", username=").append(username);
        sb.append(", authority=").append(authority);
        sb.append("]");
        return sb.toString();
    }
}
